package cn.bookCity.dao;

import java.util.*;

import cn.bookCity.domain.Orders;
import cn.bookCity.domain.Products;

public interface ProductDao {
	
	public int getCount();
	
	public List<Products> getPageProducts(int startNo,int pagesize);
	
	public List<Products> getAllBooks();
	
	public Products getProductById(String id) ;
	
	public void updateProductNum(Orders orders) throws Exception;
	
	public List<Products> getProduct(String keywords);
	
	public void addProduct(Products products);

	public void delProduct(String id);
}
